package com.example.datachange.model;

import com.example.datachange.model.code.V1_7AllCode;
import com.stars.datachange.annotation.ChangeModel;
import com.stars.datachange.annotation.ChangeModelProperty;
import com.stars.datachange.annotation.ReentrantChangeModelProperty;
import lombok.Data;
import org.apache.tomcat.jni.User;

import java.util.Optional;
import java.util.Set;

@Data
@ChangeModel(V1_7AllCode.class)
public class StarsDictionary {

    @ChangeModelProperty
    private String type;

    @ChangeModelProperty
    private String galaxy;

    @ReentrantChangeModelProperty
    private Dictionary obj;

    @ReentrantChangeModelProperty
    private Dictionary[] array;

    @ReentrantChangeModelProperty
    private Set<Dictionary> set;

    @ReentrantChangeModelProperty
    private User i;

    @Data
    @ChangeModel(V1_7AllCode.class)
    public static class Dictionary {

        @ChangeModelProperty
        private String type;

        @ChangeModelProperty
        private String galaxy;
    }
}
